<?php

	include_once("class/vo/BaseVO.class.php");
	
	class IndexVO extends BaseVO{
		
		var $id;
		var $table;
		var $table_id;
		var $folder_id;
		var $path;
		var $slug;
		
		public function __construct(){
			
		}
		
		
		function setId($var){
			$this->id = $var;
		}
		function setTable($var){
			$this->table = $var;
		}
		function setTableId($var){
			$this->table_id = $var;
		}
		function setFolderId($var){
			$this->folder_id = $var;
		}
		function setPath($var){
			$this->path = $var;
		}
		function setSlug($var){
			$this->slug = $var;
		}
		
		
		function getId(){
			return $this->id;
		}
		function getTable(){
			return $this->table;
		}
		function getTableId(){
			return $this->table_id;
		}
		function getFolderId(){
			return $this->folder_id;
		}
		function getPath(){
			return $this->path;
		}
		function getSlug(){
			return $this->slug;
		}
		
		
		public function fetchObject($result){
			$this->id 			= 	$result[0]['id'];
			$this->table		= 	$result[0]['table'];
			$this->table_id		= 	$result[0]['table_id'];
			$this->folder_id	= 	$result[0]['folder_id'];
			$this->path			= 	$result[0]['path'];
			$this->slug			= 	$result[0]['slug'];
		}
	}
	
?>